package com.atguigu.democustomer230301.service;

import com.atguigu.democustomer230301.bean.User;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService extends IService<User> {

    public String sayJi();

    public String getUserByName(String name);

    public String getUserById(String id);

    String getAllUser();

    void updateById(Integer id, String name, Integer age);

    void insertUser(User user);

//    删除一条数据
    void deleteUserById(Integer id);
}
